import { t } from '@src/locales';
import { getThemeColor } from '@src/util/business/color'

export const CustomerServiceWorkStatusMaps = {
  1: {
    text: '工作中',
    color: getThemeColor(),
  },
  2: {
    text: '休息中',
    color: '#c0c4cc',
  },
  3: {
    text: '忙碌中',
    color: '#faae14',
  },
};

/**
 * 会话来源
 */
export const SessionSourceMap = {
  'im': t('common.fields.imSource.dataSource.text1'),
  'weChat': t('common.fields.imSource.dataSource.text2'),
  'emailService': t('common.fields.imSource.dataSource.text3'),
}